Adding micro-optimization for non-nested keys