ISPN-4676 Optimize SearchFactoryHandler.updateKnownTypesIfNeeded to fast...

...-path the most likely branch