Partial rewrite to improve history query speed