Fix bug for keys that have not been seen yet