It seems confusing to allow any script, even one with a corresponding address, to silently convert to CNoDestination
.
Make the converstion explicit
in the code, and fix any bugs that were previously introduced.
In a follow-up, the class can be renamed, or the documentation can be updated to better reflect what the code does.