Removed on data event, prevent flowing mode. Added db collection check. Fixes #5.