bugfix in function ZeroJobsInSystem

the if statement was checking the wrong variable.