DateQuery should now also work

Bug fix, date time should now be casted to a MongoDate when the
DateQuery is used