Typo fix for onCondition example