Out of range error in VaRHistorical::execute() managed