Fixed an error with JobGoals in CommonLogic