Added agencyId for alerts in leg map