Fix error checking for menus the current_user_can't see.
Merge pull request #407 from x-team/issue-406

Fix error checking for menus the current_user_can't see.