Fix result key conversion