Fixed a errors made in commits before

Merged Holger Class requested to merge heavyoilfix into master

Merge request reports