Rule is straightforward – if there is stuff one indentation level deeper, prepend parens.
(if condition
(1)
(else-clause))
trying to call 1 as a function, which is an error. ...
X
Y
...
since Y is one indentation level deeper than X, prepend parens to Y. But you meant "since there exists Y such that Y is one indentation level deeper than X, prepend parens to X".