end of block was incorrectly reported by the selection based iterator