Fix finding jobs with Mongoid 3