Fix conditional expression formatting