Fixed newly created bug from previous commit

Change-Id: Ia5296937a74fc92ae6aee49fee1bd7710d3ca154
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/37
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>