Small code cleanup for item fetching routes