Default SD Card Write-Protected after flashing ROM

So here's how the problem occurred. I was on a i9505 TW rom, then I wanted to try out a rom from the T-Mobile section. So I downloaded the t-mobile philz recovery but I got a status 7 error. I then downloaded the md5 version and flashed it with odin. Then I started to download and flash the Beanstalk rom. That's when I started getting the problem. It seems like I can delete files without a "write protected" message when I use the sd card adapter but after removing and reinserting the sd card, the files come back. But when I have my sd card inserted in my phone and I try to delete or add files to the sd card, the "write protected" message shows up. Is there any way to remove write protection without formatting or erasing data?

I have a 64gb sandisk sd card and a M919V Galaxy S4
Device name - Galaxy S4 (SGH-M919V)