set-cookies: small bugfix for previous commit