fix bug in citation calculations in resource.roll_up_value