Remove unnecessary parent selectors