Fix some errors in the changes to how qalter is processed. Namely, account for the fact that modify_job_work() also calls modify_job().