Hide no data in category message if search was used

refs #6015 . Will update UI test once merged