Fix wrapper options support for boolean input types

Fixes issue #1142