Description
When in index mode the service cannot write to the database and therefore cannot ensure that the projectdoc content marker is set.
This is typically no problem since a page is stored before it is index. In case the label is removed manually, we need to make sure not to run into an exception.
Therefore we need to skip this "ensure content marker service" in index mode.