Fix error with descent into sub key code.