Fixed Parsing

Changed which overloaded method of split was used in order to properly
remove empty items from the list created by parsing.