Metabase Mongo Question

Getting this error on date filter :

Command failed with error 15999: ‘exception: invalid operator
‘$dateToString’’ on server mongo.overcart.com:27017. The full response
is { “errmsg” : “exception: invalid operator ‘$dateToString’”, “code” :
15999, “ok” : 0.0 }

Is there any way that i can paste my mongo db raw queries directly into this.
Suppose i want to create a query like this on metabase.What should i do ?

db.getCollection(‘qc_data’).find(
{
“Date_of_Qc.value”: {
$gte: ISODate(“2017-05-24T00:00:00.000Z”),
$lt: ISODate(“2017-05-26T00:00:00.000Z”)
}
}
,
{ “qc_person.value”: 1, “WID.value”: 1, _id:0,“Date_of_Qc.value”:1 }
)