Replace keyword constraint with keyword tie