Fix to avoid infinite redirects

This updates the plugin to avoid infinite redirects. This happens when an amazon.com URL gets redirected to smile.amazon.com, which tries to redirect back to amazon.com.