Namespace queries

Fixes the lack of reply when a namespace query is done.