fixes handling of invalid hunt or item identifier in routes