Convert datetime values

If value or value from values instance of DateTime convert it to MongoDate on wheres compile