Fix #1046 Importing Protocol entities does not call indexProtocols

Fix #1046 Importing Protocol entities does not call indexProtocols