Fix copy-paste in map-based storage code.