fix OWServerObject createOrUpdate to query by server_id and type