fixed ' needs an array' error when running find() against MongoDB 2.6

See the problem here -> https://jira.mongodb.org/browse/PHP-1051