precondition fixes

Removed precondition with case when keywords contain or intersect each other.