Related Items in a Category not Appearing in Results I am still having a problem looping through related posts.

I get zero, not even the HTML. And there are no Craft template errors. There are plenty of entries that were assigned the same market, so there should be something.  AND this exact approach worked perfectly before !@$!@#!

&lt;h5&gt;Similar Projects&lt;/h5&gt;

{% set relatedMarket = entry.market.first() %}
{% set relatedEntries = craft.entries.section('posts').relatedTo({ targetElement: relatedMarket, field: 'market'}).id('not'~entry.id) %}

{% for relatedEntry in relatedEntries %}
    &lt;a href="{{ relatedEntry.url }}"&gt;&lt;p&gt; Entry title goes here. {{ relatedEntry.title  }} &lt;/p&gt;&lt;/a&gt;
{% endfor %}    


I double checked.  My entry section handle is posts. The handle for the posts entry type is notifications. The category group handle is markets.  The category entry field handle is market.  I included the entry type and category group handles just in case I am missing something.
The code above was missing a space after not

.id('not'~entry.id) should have been .id('not '~entry.id)

This one is an easy one to miss and I have done it a million times.