Fix TasksQueue where no stages