Style fixes for database prune scripts

Fixing some style/indent issues with the database prune scripts