Should be fixed now.
I had to re-structure the script in order to bash the latest hack in. Part of it retrieves the size of the last query to the DB, which until I arsed it up was the query that got the search results. After I'd finished, it was the one that got your username details, and since there's only one of you there's no need for more than one page.
My friend and I applied for airline jobs in Australia, but they didn't Qantas.