Not sure if I understand this. Shouldn't it be != null &&!isempty()