In one switch statement you set a boolean flag to false and then in the ASSUMEUNIQUE case you override it to true and then fall through to the UNIQUE case. In another switch statement, you copy the code. It would be easier to understand if you followed the same style in both cases. I slightly prefer the fall-through style, but I would rather see them both use the same style, even the other style, than for them to be different.