Access historyId only once

No match.