Fix a small ternary operator typo

Tiny copy & paste error :)