Fix categories and AJAX speedup

Fixed an issue where categories were not being returned for AJAX calls
Sped up some of the AJAX calls to MPX by removing the expensive count
parameter