Avoiding NPE for occupation elements without text node contents.