dm/dax: Fix table reference counts