<p>Ah, it's really an issue with the delete:</p>

<div class="highlight highlight-source-js"><pre> <span class="pl-k">if</span> (<span class="pl-s"><span class="pl-pds">"</span>geometry<span class="pl-pds">"</span></span> <span class="pl-k">in</span> element) {
   <span class="pl-k">delete</span> <span class="pl-smi">element</span>.<span class="pl-smi">bounds</span>;
  }</pre></div>

<p>That should only be done for ways, relations need to be excluded.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1156#issuecomment-193244449">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLUd4jIXZ-GhcHwjsozz4ysHC8Vubks5prCV-gaJpZM4HbSi1.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1156#issuecomment-193244449"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>