Optimization for item history