Fix issue where referencing an invalid namespace.