enhance message search

now messages belong to either selected category or selected category's
children will return