Agree. But it doesn’t solely condition corruption on the timing of the payment. (We’ll have to see how it works in practice. McDonnell was similarly criticised, but wound up being much less impactful in practice [1].)
That case doesn’t muddy the water, because it doesn’t address the requirements of bribery law at all. In the trial below, the prosecutors disavowed that they were proceeding on a bribery theory. The jury was never instructed about the required elements of bribery.
The only thing the Supreme Court decided in that case was whether that specific statute encompasses a gratuity theory. That’s illegal for federal officials under a different statute that was not invoked in this case.
[1] https://en.m.wikipedia.org/wiki/McDonnell_v._United_States