Added agencyID decode so the database doesn't have to work so hard to get the agency information for each incident