NearestLeafTree: Fix string splitting, so names are passed correctly.
Fix the string splitting in fetching the horizon and idq history names, so they are passed correctly to the NearestLeafTree to/from xml.
Fix the string splitting in fetching the horizon and idq history names, so they are passed correctly to the NearestLeafTree to/from xml.