Don't allow pagination past the last page