Workflow re-index fails in some situations

Description

When changing the workflow, sometimes the content isn't reindexed, which means the new rights are not applied.

This seems to happen when the workflow for a content type is changed.

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Fix versions

Configure