Broken unsubscribe link

Hello,

Our nurtured prospects sometimes get the following unsubscribe link end - http://www.site.com/mautic/s/emails/edit/http://www.site.com/mautic/index.php/email/unsubscribe/5bbee3236fe07.
There’s a duplicate in the beginning however the template’s link is OK.
How can this be fixed?