fixed issues with agenda views and todo workflows