A tweak for bug #7880.  It needed localParams.LastHistory rather than params.LastHistoryPush.