Probably, Iranians also had several accepted candidates in mind to lead the US, but they didn't attack because they had some opinions about foreign government
What I find interesting is that Trump officials says Trump was the target here, but the guy was arrested in July of 2024 - which is when Biden was still in office.