Corrected key integer size bug