JSP fix for date and time search