rashes from elastic shelf bra

I bought two of these in white and black. I loved the way they looked, but eventually the tanks gave me rashes where the elastic shelf bra rubbed against my ribcage under the bust. I don't know what they use in the elastic, but I've since switched to another brand of nursing tank and the rashes went away.