Minor cookie bugfix.