This pull request introduces a workaround in the database range deleter:
if key == hash(value), the entry will be excluded from deletion.
In hash mode, trie nodes are stored using their hash as the database key
without any prefix. As a result, they may unintentionally collide with
entries marked for deletion. This workaround will remain in place until
hash mode is fully deprecated.