nested: Added object as a recognised type.
debugResultSet: Added working out what is wrong when the resultSet seems to report the wrong thing.
Core: Debugging resultSet nesting.