Update MarkdownTOC.py

Making sure that tags can still be inserted even if no appropriate headers are found.