Well done.
It's nearly impossible to prevent bad things from happening, but they certainly did the right thing. Its nice to see a company act in a way that most people would consider moral behavior. Even if they only did it to avoid a potential lawsuit, it's far better than [unnamed] companies who say the equivalent of "Fsck you, we have more highly paid lawyers than you. We did nothing wrong, it was the fault of [x]. Sue us, we dare you."