avoid n+1 subject version queries

https://github.com/airblade/paper_trail/issues/222