Changed so that error detection is based on a lack of shipping rates rather than the presence of an error message.