Get rid of N+1 for all paper_trail history queries