Pages: make sure the delete action works with namespaces