Fixed category lookup (bug 859880)