Bug fix for requestAll if there is no "nextPage"

nextPage !== 'undefined' will return true if nextPage is undefined