Fix bug where stored connections are corrupted