ENG-6930: Fix a boolean polarity issue in the JDBC driver.

(cherry picked from commit 35a7bfa351f5ac8d3c4684ba5c3c900d191c9fef)