Fixed coding issue reported from scrutinizer

 * namespace of type string is not a sub-type of boolean.