Fixed bug setting ck1 when using sums