Changed legend key from successful to valid to be consistent with the other key.
Changed legend key from successful to valid to be consistent with the other key