Fixed a dock badge labbelling bug

When you would dc with still a count in the dock badge label it would
not be removed since the chat window that put it there no longer exists.