Added model check to FObject.equals().