Fix problems with generating stealth addresses wrongly when scanning. Closes #107.