Fix for incomplete historical data