[GEOT-4868] Fix off-by-one bug in JDBCJoiningFeatureReader