Fix ajax problems with lists page.