Changed from booleans in facets (true/false) to only listing invalid as an option to find invalid values.
Nulled blank values instead of empty string.
Tidied the HTML