Fix MySQL LIKE case behavior