Fix the attribute matching inside the PatternExecutor class. Take into account every attribute constraint, not only class values.