Fix recursive SHAMap collision handling.