Fix nullpointerexception if there are no tasks in last stage
Merge branch 'feature-stats' of github.com:JustDuckItAll/wpi-suite into feature-stats