Bug fixes in refund_request method