Fix date format API

Replace wrong date_format for date filters in search and record_search api routes