Bug fix for single output sympy kernel.