Stop appending elements to rows after rowspans