BIT-474 Repay principle doesn't work as expected


Signed-off-by: Yasen Yankov <iasen.iankov@gmail.com>