Workaround for automatic redirects with pathauto aliases.