fix concurrentmodification exception when removing multiple shouldRunAfter relations

+review REVIEW-5216