I'm wondering if it makes more sense to get to these peer_reviews through submissions.assessment_requests.  I need to stare at the data model some more, but it looks as though you can have an assignment with peer reviews enabled that doesn't have a rubric yet, in which case this line raises an error.