Fixing some bugs with HTTPS Redirect validation.