Advancement triggers twice on death?

I cannot for the life of me figure out why this inventory changed advancement triggers twice on death. I was thinking it has to do with removing the tag or leaving the team in some orientation, but if i switch them it is fine. Ill add the functions here (none of the check ifs in the lose check should run, it should just directly go to banner lose)

Continue to help post