Fixing weird bug on delete of todos