Remove some redundant nested key processing