Fix an error when a credential has less than 4 attributes
Merge pull request #32 from puiterwijk/fix-error-with-less-than-4-attributes

Fix an error when a credential has less than 4 attributes