Fixed bug where we were calling getCollection twice, and the first time with the wrong parameters