Fix emptying of featurevector