Fix type filter.