fixes #957 when editing boolean values with default values