Added cast to GEOGRAPHY in the hazard_getters