JCR-2269: Changes are not properly purged once indexed on slaves

https://jira.exoplatform.org/browse/JCR-2269