Fixed Product->deleteImage() producing foreign key violation.