Code tidy in AssemblyExceptionFeatureAdaptor
[ENSCORESW-1038] Fix bug in negative stranded assembly exceptions. Scoped variables were forgetting their new values and coming back undef.