Fix for "title" query not working

Fix for "title" query not working, also array error for "namespaces"