Fix of the filtering of todos