Fix clean method

Clean method had if statement with always false condition for detaching tag from DOM.