Explicitly convert relation to array

Was throwing errors in production