Allow -1 as a blank put-code, because used by the UI.