Fix #92:  Bug fix for generating multiple rows in header/footer