Checking options[:query] in mongoid#all