Fix for Mongoid 3

Starting with version 3, Mongoid changed the [querying](http://mongoid.org/en/mongoid/docs/querying.html) so `Delayed::Job.all(:conditions => { :failed_at => nil })` returns empty results and therefore no scaling up is happening. This fixes that.