docCount was computed incorrectly by merge causing problems during indexing together with my last change in IndexWriter.