Fix short closing tags for UniqueNode parser

I found a bug with search of short closing tags.
Search short closing tags had became more strict.