Fixing CM3 line numbers for cells.