InvertedIndex: Fixed the bug in Inverted Indexing!