It was indeed quite surprising that it wasn't discovered beforehand. These sorts of things are meticulously planned with trial runs and such. I thought.
Fortunately for the Pres, he was in Ireland and not somewhere like Egypt or Saudi Arabia. That could have quickly become dicey in certain places.