Fix rating miscalculations due to poor inactive tracking