Fix bug where pending activations weren't being properly retracted.