fix (bug 33148)

fix
by
VG
(fixes bug 33148)

:

Eliminate gap when index is registered but not created yet, causing
corruption of index file.
Thanks to Natalia Shilenkova.