Add option to filter databases and collections.