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

Link: https://jira.ez.no/browse/EZP-22178

## Description
The search engine was not updated when a node was changed (unless we re indexed the whole thing).

## Test
Manual tests