Fixed a problematic cast when deleting.
JDBC library updated.