Corrected bug, events were being written to stream collection