OPAL-1610 

bug fix when deleting namespaces