fix like criteria for case sensitive dialects