Here we may push undefined to features and skippedFeatures. It seems to me that the pushes should occur if the feature is defined.