Bug in setting the heads of copied alternates fixed.