Attribute push in Shibboleth 1.2 SP

We are having some issues with getting attribute push working with Shibboleth 1.2 SP.

    for (unsigned int scount=0; scount < statements.size();) {

        SAMLAttributeStatement* s=dynamic_cast(statements[scount]);

        if (!s)

            continue;

As you see the scount parameter is never increasing if you find a statement that is not an attributestatement. In attribute push you will have both attribute- and authnstatements, so I cannot see how this can work.

What I really need is someone out there with an example XML document of an attribute push authentication response that is working with Shib 1.2 SP. I believe it exists as Shib 1.2 is supposed to support attribute push.

Thanks in advance!