Fix logic bug in skip_missing_prerequisite feature.