Fix #1046 Importing Protocol entities does not call indexProtocols