Remove unmatching </div>