Fixed query where it tried to retrieve a ResultSet for a query that does not return anything - i.e. an UPDATE