fix bugs when todos deleted on one page and then changed on another.