Local collection variable improperly assigned in Collection constructor

Not sure if this is a universal issue - I was running into an issue of the collection variable not getting set in the Collection constructor because it was coming after the "emit" (and therefore none of the queries were running because there was no collection).  By switching the order of the assignment and the emit I fixed the problem.  If this was specific to me please feel free to disregard.