More fixes related to searching and caching of categories.

Event create was broken - need to get persistent categories fro event.

Search was broken - wrong search type.