[Koha-bugs] [Bug 27249] Using the calendar to 'close' a branch can create an infinite loop during renewals