fixed missing hiding of search action for library fragments