More adapting to missing assembly.  Change last_id to edwValidFile max id (not edwFile max id)