ResultSet exception - before start of result set fix