Fixed issue when using date search without other search criteria