Ensure unquote_splicing followed by tail works, closes #1393