Fix bug in BasicFeatureVector