HTML block - default tree issue

HTML block - selecting default tree when there is no default tree causes
fatal error