404 redirect on not found country, treaty, term refs #298