Bug in While Loop?

Just been having another go at resolving this:

This is the server connect:

and this is the output of the set values nextPage (boolean) and page (number):
{"nextPage":false,"page":1}

There are 2 issues I can’t get past. Firstly counting the records doesn’t work (if I return the apiInvoices action I get exactly 100 records so it should increase the page number instead of listing nextPage as false). I think the syntax is right but I wonder if I can’t access the step with manual code for the same reason it doesn’t show in the data bindings?

Also I can only output the API action step and not the while loop as a whole, so even if I get the loop to work I can only ever see 100 records?