What if `ci_id` will not be a number?
should be int(ci_id)