Update menu_tags.py

Parent is nulled for menu nodes, this isn't very comfortable in some situations
Merge pull request #2632 from belegnar/patch-1

Update menu_tags.py