more fix for the form category selector
Merge pull request #1537 from craigh/catselfix

more fix for the form category selector