So... is the idea to return a row when either one of the two case conditions is true?
If that's the case I would use two case statements joined by OR.