[NUI] fix wrong condition on string null check