Hurray! got it fixed with the help of below post.
FormLogicError: could not evaluate: selected - User Support / Form Building - KoboToolbox Community Forum
It was a syntax error with the formula. I did miss single quotes after condition1 & condition2.