Fix Bug 1096431 - Able to create tasks with duplicate names