Fixing dump_db task.