Bug fixes

When an instance of Iterator was used in the ResultSet it did not work.
Well now it should work.