Fixed a bug introduced in a previous commit.

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