Fix typo in 2d50c4d (missing 'if')