The relationship between al Qaeda and Iran demonstrated that Sunni-Shia divisions did not necessarily pose an insurmountable barrier to cooperation in terrorist operations.
Iran's relationship with Al Queda proved that Sunni-Shia infighting, doesn't come into play when it comes to attacking the west they are united.