fix max_walltime which is not correctly handled in backfill mode