When the Payment Schedule's Deposit item is set to Amount Type = Guest and when Related Bookings exist, the deposit amount was calculating incorrectly. This has been fixed.