Support deleting plugins with deps on each other, and handle corner cases better