If a single reference was preceded by free-text, it wasnt resolved
* 'John {{ Doe }}' wouldnt work until this fix
* added a test for the bug