Fix typo causing unnecessary array duplication
Merge pull request #1700 from Lekensteyn/fix-typo

Fix typo causing unnecessary array duplication