Minor fix to filter_data().
FIX: bad class name call.
FIX: wrong variable name.