Fixed bug #517761, Collection match rules not working for attributes.