Fixed wrong variable in views.py for job submission