Look at the comments in your "phar pass" custom block. It's a similar issue to one you had previously. You're removing items from a list, but not updating indexes into that list accordingly.