Fixed loop of list and finding Null categories