Small bugfixes to the KSSL implementation.