Fixed problems when updating a component of a sequence.