Refine logic of VerifyAgreement#find_apo_id method to return more specific error information