Fixed a bug around wrong parsing of empty lines.