Fixes #2676: safe functions for retrieving condition/grade by facility.
Merge pull request #2677 from jamalex/fix_grade_lookup_by_facility

Fixes #2676: safe functions for retrieving condition/grade by facility.