Fix a bug with copy cctors, iterators and vector erases. Weird bugs are weird.
Fix a bug with copy cctors, iterators and vector erases. Weird bugs are weird.

DDuarte/feup-cal,DDuarte/feup-cal,DDuarte/feup-cal,DDuarte/feup-cal,DDuarte/feup-cal