Add data processing for conditions.

See https://www.drupal.org/node/2245055