Cleaning Database causes 500 error.

Database Cleanup in Hummingbird is not working. It is causing a 500 error.