Fix import of multiple variants of the same program when updates occurred