break creation of 'WHERE MEMBER OF...' statements into seperate function in order to allow adding additional expressions to disjunction if necessary