Bug 884440 - Remove item correctly from vector. r=doublec