XWIKI-10780: Observation manager does not fully overwrite existing event listener