This is basically a minor adaptation of the Edge Dissolve (link).
Oh I think someone was faster than me - didn't check the changes in the main task :(
Indeed. Your patch was perfect though, sorry for you wasting your time on it.
No problem, didn't took that long anyways :)