I thought my solution was simple. Yes I looped. But I forgot to consider the zero severity getting caught on layer 0.