fixed bug where changedIndexPaths contained duplicates