blueriver/MuraCMS — pull request #1585 by am2605 (2014-09-11 02:12:48+00:00)
Title: Issue 1583

nextn.next being set to 1 before the above iif() statement on line 114, eg:

```coldfusion

```
...
```coldfusion

```

was causing nextn.through to wrongly be set to the value 0, rather than the size of the resultset.

I have deleted the cfif beginning on line 103 so that when the the iif() is executed, nextn.through will get set correctly.

After that I have added this cfif statement to ensure that anything previously requiring nextn.next to be set to 1 on the last page of a result set should continue to work correctly (not totally sure if this is actually necessary though?).

```coldfusion

```