Fixed a matching bug related to class attributes