fix KartePDFMaker, improving empty row handling.