I don't know if it's a bug or a feature...
Should the filter function return a new table or not?
I've encountered a problem where after applying dr(0) to the filter function's result, it returns the first row of the original table, not the first row after the function.
I think it's a bug.