Be a bit more careful when linking to index variables and allow some references to pre/post variables to not be available in synapses because of too complicated indexing