main window: index update: make sure the previous hack never remain stuck

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Merge branch 'testing' into wip-progressive-doclist-display