There is no way that party ( or any others ) would have taken place without a thorough risk assessment before hand. Clearly the P.M’s advisors, medical staff , bodyguards, thought he and other high ranking government members were ok to attend.
There was no vaccine at the time either .