The bitwise AND and OR functions are defined in DynamicMath.cs to return bool. They should return dynamic.