fixed N+1 query in admin/edit/revision page