Remove activity.url if it's the same as object.url