title: Failed prop type: Material-UI: the page prop of a TablePagination is out of range
body: <p>I have a warning error due to pagination problem. I am using material Ui and I have a search function, the problem is when I go to page 2 and try to search something I get the following error</p>
  
  <pre><code>Failed prop type: Material-UI: the page prop of a TablePagination is out of range (0 to 0, but page is 1)
  </code></pre>
  
  <p>the current table pagination code is </p>
  
  <pre><code>&lt;TablePagination
               onClick = {handleDrawerClose}
               rowsPerPageOptions={[5, 20, 50]}
               component="div"
               count={userManagers &amp;&amp; userManagers.length}
               rowsPerPage={rowsPerPage}
               page={page}
               onChangePage={handleChangePage}
               onChangeRowsPerPage={handleChangeRowsPerPage}
              /&gt;
  
  the userManagers is the array containing all the data 
  
  </code></pre>