Fixed bug that would cause the last line to not be parsed.