Fixes bug in parsing value of edited payment.