The default value for unset is -1, not 0. Problem introduced in 66028b7b
Attach a file by drag & drop or click to upload