Fix an error with arena conversion