Fix order of precedence.