Fix list allocation in &rest arguments