Minor changes to CategorySearchElement
Merge pull request #3395 from pboyer/CategorySearchElementFix

Minor changes to CategorySearchElement