Fixed bug in find namespace references.