distinguish duplicate refund from illegal reverse refund

Change-Id: I8485a73b7136088860b6258f154f48e90065a0a4
Merge "distinguish duplicate refund from illegal reverse refund"