Backtrack missing closing tags