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