Minor edits to figure out ValueErrors.