XML export now writes light records for deleted images