Bugfix for filtering K index data.