Allow safe bags to be filtered on type only; fix bugs, add test.
Release 0.2.37.
Start 0.2.38.