fix document list display bug when there are archive versions not shown and hide_completed is on