Change the definition of stuck projects

Projects are stuck, if there is no NEXT task but there is at least one
TODO.