Fixed major bug involving resetting of task IDs. Should help with many of the inconsistencies regarding the edit tab