I don't know why I used a ternary operator here, so now I don't.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>