Objects might not be equal, try checking distance.
Check the worlds are the same before calculating distance to prevent errors