Alignment for search by entityIds