Corrected ID issue when uploading apps current

The Foreign key referenced application_ids that are structured
differently than application numbers. So, had to correct the id here a
little bit.