Fix for assertions without idpClaims

This is a fixup for the bug introduced in 1de47df54561b12d5c622167d9ca3dcef86560b0.