fix: empty list of keys in clear method
Merge pull request #148 from jan-cespivo/master

Avoid raise errors if we get a empty list of keys