Takes a subset of a Nullable NumericVector, but only if it isn't NULL

subset_nullable_vector(x, index1, index2)