Few things to think about:
The Potassium Ion is a spectator ion, so it doesn't affect the overall equation. The counterion, however, is not a spectator ion.
You may also need to consider the pKb of CN-, if you're not sure about the base strength of cyanide.