Fix the check for if the ResultSets schema needs to be initialized
Fix the check for if the ResultSets schema needs to be initialized

Table::size() is not the number of columns in the table.

realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core