|#1157| querying facilityType on code, instead of name