CRM-15435: Fix custom group weights (mostly for Case ActivityView).