JDBC bug with limit and offset?