[james] #X fixed the exception being thrown by the rapidPro hook