Fix deletion bug where it didn't re-render.