Fixed conditional iOS bug.