Fix compound select parentheses.