Reverting old if-check syntax.