GetTask bugfix

correctly return pointer to Task inside TaskList.