When clearning current messages from a namespace, it should pass to see ...

...whether the namespace has current message or not.

I don't have a CLA. Not sure whether this PR is still accepted or not. Else please fix by yourself.
Thanks
Hari KT