Fixes support for unsubscription. We need to track the IDs sent by the client.