Fix duplicate job name detection