Fixed history level check