Fix for #5579

If the view is named by a string try to look that up first.
Oh right. Nice catch.