Fix typo in selectSpreadKernelPtr causing wrong kernel to be selected