Intersect entries ids with all existing ids