Fix LIKE operator under certain circumstances