ToolForm: Fix boolean handling