I agree with @retornam's suggestion that you could loop through all of the links and make sure that each of them has the correct owner, rather than just checking the first link. That would give you a bit more coverage in the case that the first link by coincidence was correct but there were other events for other owners in the list too.