Fix issue with LocalDate to java.sql.Date conversion