Fixed panic when a key is set but no value has been sent