fixes an error in classification of Pat.Alternative subpatterns