Fixed select and deselect all functions in search pages