Compare ids, not objects.