Fixed bug in vectors remove() methods.