Merge pull request #1045 from dennishendriksen/master

Revert fix for #1043
revert fix for #1043, created issue #1046 Importing Protocol entities does not call indexProtocols