MODE-2392, MODE-2393 Fixed some reindexing related issues

- the first is the fact that at startup, reindexing will always be performed even if there is stored indexed data
- the second if the fact that certain index types (e.g. indexes on Name) did not remove the existing data when reindexing was performed.