run-beagle: Fixed the index of GP field