Fix silly conditional operator problem