Pymongo filter by date. The issue is something to do with the date filter.