Fixing a bug in CreateSoftwareDependencyFeature