Fixed assertion counting.