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