Fixed an issue with ternary operator example.