Fix bug with hop patient lookup

Was erring whenever there were summaries or hpos that didn’t match.