Fix notice when trying to hide node view tab.
Merge pull request #5013 from openscholar/5012

Fix notice when trying to hide node view tab.