Fix a case where the wrong array was used.
Merge pull request #2014 from lioncash/master

Fix a case where the wrong array was used.