Bug fixes for category links.