correctly exclude merged docs from latest docs list