Cleanup stack_tags to make the trick more obvious

You can take this or leave it, as you like :smile:. I realize that the project overall is kind of horrifying, but I thought it could use a bit of cleanup anyway. All the tests still pass as well. The functionality of stack_tags is clearer now, IMO.