LOOM-1840:  Fix struct boolean coercion check when lacking type