Corrected logic for preprocessing if settings->must_match_tagged
Fixed logic error