Reduce some n+1 queries on admin document show and edit views