Allow createDummyFeatures to handle variables with missing values