field != 0 by mistake. The associated testcase did not expose this bug because it was broken too.
Attach a file by drag & drop or click to upload