Steps to reproduce:
1. start a process instance containing a (async) failing service task
2. set number of retries of the failed job by job definition id
3. execute the failed job once again, so that the job will be executed successfully
4. query after the created historic incident for the failed job
-> the historic incident has as state "deleted" instead of "resolved". The incident state has to be "resolved" in that case.