fix ModelManager->addIdentifiersToQuery