Convert simple and ISO dates from RSQL query into mongoDB query