Fix substring selectors being matched when cascading
Merge pull request #565 from amro/fix_substring_selector_cascade

Fix substring selectors being matched when cascading