Fix a couple of bad return code values.