Changed middleware method getGermplasmWithPrefName to reflect the CHANGES record. This method is used in getting the pedigree tree of a germplasm.

Issue: GCP-8816

Reviewer: Darla (post-commit)