Fixing ternary in c5a31122f0ba0dc35cf179cd2915bd4dd553ed3b (#22)