The effect of surface heterogeneities on colloidal forces