Link
When calculating the deposits to process, we do not want to overwrite existing slots. This is why the last check/condition is implemented.
The issue with the condition is that it is one-off by the max size the ring bugger allows. Since + 1 is already added, make the check < into <= to work to its full capacity. 
