Added a comparison check for pipelines.