Fix subscription counter after unsubscribe