Add flag and appeal searches

#1915
Add pseudo-category search for flags

fixes #1915