Typo fix for onCondition example
Merge pull request #1890 from kartik-v/patch-11

Typo fix for onCondition example