fix bug when correct JSON date could not be indexed by fhirbase
support search by quantity params