Fixes the scan upload form.