prevent exception when using leftnocase,,likenocase etc which require mvalue to have a non null value.