Ensure transaction depth is being counted.