Fix incorrect number of columns error dump_predb