Remove unnecessary attachment divs