Add a difference/union boolean function