Fix EZP-22178: Updating main node doesn't update search engine
Merge pull request #870 from ezsystems/ezp-22178-update_search_engine_mainnode_change

Fix EZP-22178: Updating main node doesn't update search engine