MDL-24080 fixed debug warning and converted NOT LIKE