Fixed compatibility with pymongo 2.5

Added compatibility with additional arguments of the find() method of Collections.
Fixed a compatibility issue with querying of array fields with a single value.