Minor fixes to remove a few asserts (hasRefs checks)
Minor fixes to remove a few asserts (hasRefs checks)

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core