Fix adjacent namespece selections

Closes #167