Fix bug with separator output when showFirst is false