More fixes for the geonetwork template