added support for filtering samples by sha1