Impl fix for Inverted Index