Changed to do Date only compare for java.sql.Date values from DB, avoids edge condition on thruDate