NXP-11020: better lifecycle state for shallow documents