Fix Infinite Deposit Loop