Handle n-dimensional data and reset filter after each record.

--BRJ and CAR