Fixed off-by-one error in single-matrix lookahead filtration code.