Fixed bug in make.outer.header.row