CONN-263: Fix for saving certs.

Saving certs works with this commit. My next commit will have the display working again. There also seems like some weirdness when trying to add a direct and exchange cert at the same time.