Minor fixes on ConvertToFrameworkAlgorithm
Minor fixes on ConvertToFrameworkAlgorithm

Typo and unnused variable removal.

Jay-Jay-D/LeanSTP,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,AnshulYADAV007/Lean,QuantConnect/Lean,kaffeebrauer/Lean,AnshulYADAV007/Lean,Jay-Jay-D/LeanSTP,AlexCatarino/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,JKarathiya/Lean,jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,jameschch/Lean,Jay-Jay-D/LeanSTP,JKarathiya/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,jameschch/Lean,kaffeebrauer/Lean,kaffeebrauer/Lean,JKarathiya/Lean,StefanoRaggi/Lean,kaffeebrauer/Lean,QuantConnect/Lean,AlexCatarino/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,jameschch/Lean,AlexCatarino/Lean,Jay-Jay-D/LeanSTP