dm table: remove unused buggy code that extends the targets array