Refs #8913 Fix type conversion.

Should parameter should be int not double.
Merge branch 'feature/8913_nested_algorithm_history' into develop