Fixed N+1 query in justification controller