Fix for search after sort in SQLFORM.grid (over ajax) #2020

https://code.google.com/p/web2py/issues/detail?id=2020