Fixes #100 and #107 - lastPage is set to equal firstPage when totalRecords is 0