Improves the index removing private and non confirmed messages