detailed way seems a lot less brittle, why not just use it instead?  In the common case it shouldn't be much slower than the quick way if "Accreditation" is always the first item.