Dmitry Timoshkov : mstask: Correctly initialize trigger count when loading a task.