Is it possible to build a query filter for documents with an array with odd size instead of this?
db.records.find({'$or': [{'my_array': {'$size': 1}},
{'my_array': {'$size': 3}},
{'my_array': {'$size': 5}},
...
{'my_array': {'$size': 15}}]}))
The filter may not catch all the items if you stop at a certain number.