Fix addition of too many new lines by lister.php