Records Per Page bugs

I added extra setting in Records Per Page. On the front I added 5, so the drop down list shows: 5,10,20,50,100,All

When the grid opens it starts form 10 (default). When I click on 5 it properly shows only 5 records. When I click “All” it displays all records.
HERE IS THE BUG: Now if I click 5 it dos not do anything (while it should display 5 records only). Another words the added 5 records per page limit works only in initial state when the grid is opened first time.

[ATTACH=CONFIG]n70757[/ATTACH]

STEPS:

  1. add 5 in the records per page
  2. add All in the records per page
  3. open the grid app
  4. click 5, All, 5 -> you will not see 5 records limited

RecordsPerPage_bug.png