Fix for accidentially incrementing the comment counter multiple times