Fixed T26843
Summary: Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>
Test Plan: Review and unit test
Reviewers: O1 MITK Reviewer Group I, kislinsk
Reviewed By: O1 MITK Reviewer Group I, kislinsk
Subscribers: kislinsk, kalali
Maniphest Tasks: T26843
Differential Revision: https://phabricator.mitk.org/D293