Check the validity of commutators for merge/hash clauses

Check the validity of commutators for merge/hash clauses

Edit