Task history

Fixes errors with split tasks.