Fixed error where reference variants (no alts) are dropped for no reason.