fakemongo/fongo — pull request #74 by liranms (2014-11-03 13:50:37+00:00)
Title: bugfix for $ne on empty list

Using $ne on a list tries to compare the list items, and if it fails, it will compare the list itself (as a whole object), this is the mongo behavior that is fixed in this commit.

Example: { list: [1,2] } should match the query: { list: { $ne: [] } }