Fix: Avoid index mismatch in column-based filtering.

* See thread 22351i