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

Fixed #364.