Remove unnecessary Integer parse when setting key to single value