Fix showing last entries in history.