MONGOID-4100 Account for when criterion is nil
MONGOID-4100 Account for when criterion is nil

mongodb/mongoid,kay-kim/mongoid,mongodb/mongoid,Welovroi/mongoid,herimedia/mongoid,jonhyman/mongoid,kay-kim/mongoid,Welovroi/mongoid,herimedia/mongoid,jonhyman/mongoid,mongodb/mongoid