Indeed I misread! I should have wrapped the 2nd half with a `:has()` http://api.jquery.com/has-selector/

`content.find('.semantic-container > :has(:not(.semantic-controls))').remove()`