Fixed bug with removing an object from NSMutableOrderedDictionary via its index.