Improves show_menu templatetag so it fails gracefully