Explicit error on missing collection

Fixes #27
Merge pull request #30 from dandv/patch-1

Explicit error on missing collection