Fix the second half of the bug in suspendListeners

If the same listener was the action for two events, this would result in
only the second event becoming un-suspended, because the first event's
actions would be overridden.