Fix document list not updating in almost all cases