Wrong column type for visibility field, refs #577