Fixed parsing of CSS class selectors.

When a class selector is used it should be checked as one of the possible
values, not as _the_ only value (unlike ID selectors).