A drupal fix for infinite redirects created from pathauto and redirect modules