Fix compilation when old query engine fallback is disabled.
Fix compilation when old query engine fallback is disabled.

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