Fix missing id for dx files - really fixes #13759

Upload of PDF wasnt possible. This fixes the correct id for dx types.