fix inlining of type checks in Moo
cut out unneccessary ternary operator