Fixes creating of TaskQueues