Fixed a bug of the previous commit

Change-Id: Ia70b19d917f35a9e7c8916f153d3e84c02c4e447
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>