Adjust indexes of array for getting the result set of all breeding location query

Issue: GCP-5250

Reviewer: Dan J