Did you implement this Tutorial fully? It gives you a choice to increase inventory or not when you refund …
EDIT: changed the link to the Tutorial - it was the wrong one…