Fixes for hash.clear using the new hash events