Bug in debug_callback would stop at first empty row.