Fix issue where multiple lines are detected as the separator.