fix for missing cells in $id column when only metadata uses the $id column