detect_disallowed_combinations function

Detects disallowed combinations in candidate set