MODE-2392 Fixed the continuous re-indexing behavior at each startup.
MODE-2393 Fixed the removing of existing data when reindexing certain types of nodes.
Merge pull request #1349 from hchiorean/MODE-2392

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