MOdified Selection to handle also parenthesis