yes ok I fully agree.
In the case where there are locked neighbors and all the rest are equally used, I see now how the oldest one gets deleted in a FIFO. It's lines 202-204 that put me off, but it should never reach that.