Fixed karma pooling bug.