Why was it a risk?
Any time you purchase RAM, even if it's the identical spec of what you need, there's a risk of it not working because some computers are very picky about the RAM that you put in. Supposedly, Macs are more picky than other machines, but I've yet to find a stick of RAM that a Mac didn't like.