Fix falsy boolean value handling