Fixed bug when network metaterms is null.