I think this should be fixed directly in CaseResult#getPreviousResult() instead of working around that getPreviousResult() doesn't return a senseful result here