Fix triggered as self closing tags instead of opening tags