Simple refactor due to yaz_match_xsd_element 0 check YAZ-822