Fixes custom data history bug introduced via e4f9902
Fixes custom data history bug introduced via e4f9902

Jay-Jay-D/LeanSTP,Mendelone/forex_trading,QuantConnect/Lean,bdilber/Lean,mabeale/Lean,Jay-Jay-D/LeanSTP,bizcad/LeanJJN,devalkeralia/Lean,bizcad/Lean,jameschch/Lean,tomhunter-gh/Lean,Jay-Jay-D/LeanSTP,Jay-Jay-D/LeanSTP,bdilber/Lean,dpavlenkov/Lean,AlexCatarino/Lean,mabeale/Lean,QuantConnect/Lean,young-zhang/Lean,bizcad/LeanJJN,QuantConnect/Lean,mabeale/Lean,kaffeebrauer/Lean,AnshulYADAV007/Lean,bizcad/Lean,kaffeebrauer/Lean,Mendelone/forex_trading,StefanoRaggi/Lean,AnshulYADAV007/Lean,mabeale/Lean,AnObfuscator/Lean,tomhunter-gh/Lean,FrancisGauthier/Lean,StefanoRaggi/Lean,FrancisGauthier/Lean,AnObfuscator/Lean,redmeros/Lean,kaffeebrauer/Lean,JKarathiya/Lean,Obawoba/Lean,jameschch/Lean,Mendelone/forex_trading,Phoenix1271/Lean,redmeros/Lean,bdilber/Lean,andrewhart098/Lean,JKarathiya/Lean,AnObfuscator/Lean,AnshulYADAV007/Lean,Obawoba/Lean,young-zhang/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,AnshulYADAV007/Lean,jameschch/Lean,Phoenix1271/Lean,devalkeralia/Lean,Mendelone/forex_trading,tomhunter-gh/Lean,bdilber/Lean,andrewhart098/Lean,dpavlenkov/Lean,AlexCatarino/Lean,squideyes/Lean,Obawoba/Lean,AlexCatarino/Lean,andrewhart098/Lean,squideyes/Lean,redmeros/Lean,devalkeralia/Lean,young-zhang/Lean,redmeros/Lean,tomhunter-gh/Lean,bizcad/Lean,QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,squideyes/Lean,kaffeebrauer/Lean,Obawoba/Lean,JKarathiya/Lean,dpavlenkov/Lean,StefanoRaggi/Lean,FrancisGauthier/Lean,Phoenix1271/Lean,JKarathiya/Lean,bizcad/Lean,FrancisGauthier/Lean,andrewhart098/Lean,young-zhang/Lean,jameschch/Lean,devalkeralia/Lean,Phoenix1271/Lean,kaffeebrauer/Lean,dpavlenkov/Lean,AnObfuscator/Lean,squideyes/Lean,bizcad/LeanJJN,AnshulYADAV007/Lean,bizcad/LeanJJN,Jay-Jay-D/LeanSTP