Throw LogicException when methods "and ()" or "or ()" called without of context