fixed bug where deleting a todo on a filtered view would show todos of different state