Simplify an unnecessary case clause