Fixes boolean handling in options