Reinitialize chosen elements when tab is shown.
Convert boolean to 'true' or 'false' to meet the requirements of deform's checkbox widget.