When an Invoice is revised, a credit memo is automatically created to zero out the balance of the old invoice. When that credit memo is "approved", the Deposit Processed Flag on the booking was being incorrectly set to true. The issue has been fixed.