Refs #9993. Replacing wrong code in unit test

Out-of-bounds vector access made the test fail in VC.
Merge branch 'feature/9993_poldi_symmetry_independent_hkl' into develop