Subtle but devastating bug in vector copy constructor.