Changed cause_controller to set a seperate cause_id in the hash rather than use the implied id value as it seems risky.