minor fix to category matching
Merge branch 'noam-20120306'