998631-task-statuses - clear task statuses references before deleting

998631-task-statuses - added comment
Merge pull request #39 from thomasmckay/998631-task-statuses

998631-task-statuses - clear task statuses references before deleting