Fixed bug in getting the authority when there are parts missing.
Merge pull request #436 from glynos/issue_364

Fixed bug in getting the authority when there are parts missing.