Fixing inventory edit bug where gallery uploads don't take on the new form when uploading new images on an existing product