bugfix: TolerantEditDistance did not clear output image stacks