Fix for wrong entry code when deleting from parents list    Ticket: GCP-9534    Reviewer: Jai post commit