Fix issue when adding rows with the infinite field.