Fixed erroneous costs handling in sink joiner.