Fix a crash caused by a LIKE pattern that consists of a single escape