Corrected check on building job