WL-3640 Don’t fall over when no terms available.

Generally there aren’t any terms now so we need to cope when there are no terms in the drop down list.