Fixed tasks not resetting. Closes #150.