Fix view WMS action in metadata view.