Style fixes to database prune scripts