Don't decrement iterators pointing at the end of an empty list

Was getting random assertion errors when crafting in debug mode because of this