bugfix in immutablemodel (comparing model objects)