Temporary fix for date search.