On the Problem of Endogenous Unobserved Effects in the Estimation of Gravity Models