Fix compilation error with as_deque of nested deques.