Fix the "db_maintenance" method