Fixes wrong overlapping check in _can_fast_union.

To use the fast_union method it is not enough to find an overlap, the
indices also have to be aligned.