Fix cosmetic error in pairvalidate_debug
Add assert to pairvalidate_debug to catch when pairvalidate misidentified an attribute as mismatching
Simplify pairvalidate loop
Support new tag behaviour correctly in pairvalidate