Fixed issue with parsing additional braces in tags.