Fixed a crash when saving SearchableFragment's state.