Fixed broken ~ operator.
Fixed broken & and | operator.