fix crash when SOAP gets changed into another element, fixes #186