Fixed bug in the product of kernels with tied parameters