Fixed another error in SearchForCase.