Any reason you are forcing the relation to expand here with `all`?  It's also worth preloading editions (and possibly their documents and organisations?) to avoid n+1.