I just did an alert to show what the empty list item was showing. It showed null. SO I i changed it to
if (whatever("whatever")==="" || whatever("whatever")=null)...
it now shows what I want to show.