Fix removing tags from deleted whitespace