Fix wrapper options support for boolean types