Make sure jobs are not run twice.
Fix for previous commit.
Fix.