Check "last block" by position, not value.

All tests now pass again.