core tetra: fix holes in toSalt conversion