mongoid/mongoid — pull request #2979 by cpuguy83 (2013-04-17 14:13:20+00:00)
Title: dup the query so the existing query is not modified

Fixes https://github.com/mongoid/mongoid/issues/2978