the reason this code needs to be here is because of a side effect of what happens when you do a destructive add. I believe if you delete this line, you will get some bugs caused in some cases where the add doesn't render properly until you log out/log back in.