Amazon did something wrong, then did something right.