issue #19290: fixed findorcreate bug