Change "visible" field type to boolean