search.rb Fix pagination.
Material Type Checkboxes: Activity, and Contributed maintain state.
Render all activities even ones without investigations. (Externals)
Ensure there is always some material type.