Fixing some issues with displaying categories.