Had to remove scripted patch in role deletion because of stale index. This may need a background task or something.