What happens here if the job doesn't belong to a group? Looks like there'd be an attribute error on the `obj.group.reference` part.