I always seem to run into some problems with conditionals. The code in question is this:
{categories}
{if category_id != "305|325"}
Index version 1
{/if}
{if category_id == "305|325"}
Index version 2
{/if}
{/categories}
At the moment, it is always returning version 1 of the index, even when the category of the entry matches 305 or 325.