Using the Realm’s schema when validating relationship queries.