The addition of atrial fibrillation ablation to mitral-valve surgery significantly increased the rate of freedom from atrial fibrillation at 1 year among patients with persistent or long-standing persistent atrial fibrillation , but the risk of implantation of a permanent pacemaker was also increased .