Restriction count fix