Fix bug: util.get_from_key_value_set() shouldn't modify its arguments