Make transformConflictsClause() more defensive