fixing consent date from/to for search section