Bugfix in testing for Model link equality (also used by model.Contains)