Fixed bug in trajectory join when discard_overlapping_frames is True, but frames are not identical