Filter comparison by ID