Removes duplicated fragment replacement.