closes #1311, set category post counts to 0 before starting upgrade