Fix: Insert key-value pairs to a radix tree correctly.