Fixed non-threadsafe region in IntegratorInternal::evaluate, #531