Optimize history page a little