[PLAT-4968] Fix error mapping old graph nodes to new portfolio identifiers