I'm using local filtering. With more testing, I found that the error happens when the part of the table I am seeing is, for example, line 10000, and after filtering if the total number of rows of the table becomes, for example, 1000. So, when the row number that I am seeing becomes greater than the total number of rows or something like that caused the error, in all of my testing. If I can make a testing page, I'll share it here.