Fix for issues with redirects and other engines.