OR operation on enum type working