Fixed issue #1492 about atomatic index rebuilding in background