add validation for conditions (see FUSETOOLS-1162)