Dear @darwinps,
The difference is that you call filter method in your code where you see this warning. When that method is called, it calculates stats internally at that point in time, so that's when you actually see the warning, since at that time, the liquidity filter hasn't been applied.
The final stat calculation that you are doing in your code (after the liquidity filter) is not giving any warnings which is expected behavior.
Best regards