Fixed issue where {tag}.{class} wouldn't be recognized as a selector in some cases