Fix tags with 'selected' attribute

Instead of fixing improperly closed tags