could you use the new SGVector based get_feature_vector method here?
Makes maintenance easier :)