Allowing pass null as empty string [ci skip]