Fix false positive on Mongoid documents.

Current spec status:
- 2.0: 412 examples, 0 failures in 0.118 seconds.
- 2.1: 477 examples, 0 failures in 0.10167 seconds.