For the sanction to really bite, would need to block not just air travel, but people. Otherwise diplomats from Belarus could just fly to e.g. Russia first, and from there to wherever they were going.
It wasn't practical for MH17 to fly around the Donbass either but it would have prevented a terrible tragedy.
And there flights weren't even officially targeted. This flight was intercepted by an armed military jet. From there it can quickly escalate in the event of a misunderstanding.