Correct assignment of a variant end coordinates