Fix bug which split a row across lots of rows in .xls output