PHOENIX-1533 Last key part not taken into child/parent optimization