Handle the stampCollection in query filters

Fixes #28