Added hours by category for bug #8366.