Be smarter with fetching history