Bump history length to 5000