Issue 1583

nextn.next being set to 1 before the above iif() statement on line 114, eg:

```coldfusion
<cfif nextn.next gt nextn.NumberOfPages>
    <cfset nextn.next=1 />
</cfif>
```
...
```coldfusion
<cfset nextn.through=iif(nextn.totalRecords lt nextn.next,nextn.totalrecords,nextn.next-1)>
```

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
<cfif nextn.next gt nextn.totalrecords>
    <cfset nextn.next=1 />
</cfif>
```
nextn.through was being set to 0 here, if we are on the last page of results