Fix empty job submission.
Merge pull request #28 from HassenRiahi/FixEmptyJobSub

Fix empty job sub