Use elseif instead, which is one level less deep.