I made a copy/paste error at this line, please replace cdr_value_array[i] with long_val.
—Reply to this email directly or view it on GitHub.