fixed "BadValue $in needs an array" bug present in mongo 2.6