Fix error on trying to create a 'next' button for the last page of the u...

Currently it isn't possible to get to the last page of user listings in the 'Settings'->'Users' section. A bit of digging revealed this was because member_list.next_page_number was throwing an error for "EmptyPage: That page contains no results". This change means we avoid that call if we are building the last page.