xtuple repo changes for issue #1946: handle hold type properly