some refinement of the category filter

Signed-off-by: Alexander Skjolden <alex@plastboks.net>