bugfix: compare categories and preferences