Politically, you’re probably right. There is no upside to a pre-november attack but survival trumps politcs. If Bibi really believes Iran will have a workable nuke before November, he’d attack to prevent it.
The Israelis are very good at mis-direction.
Believe it or not, Netanyahu (as well as any other world leader for that matter) has his own worries and could not care less about how his actions affect Obama’s re-election campaign. No matter what Barry told them all at the G-20.