Don't filter elements in no namespace, fix #1981