Attempted to use if else control for whole list. On the fourth node it breaks.