Fixed getting boolean values when editing a boolean field