AG: hash-manager - fix bug with wildcard hashes' undo function not being called properly