Fix variable typo in Collection

Signed-off-by: Gergely Tarjan <mail@malakai.hu>
Merge pull request #2847 from tlgreg/fix_collection_typo

Fix variable typo in Collection