I suspect there were people in government who saw airplane attacks and gay bar attacks coming, but government's a big thing with many levels, and what somebody somewhere in the middle expects will happen doesn't reach all the way to the top or the bottom of the ladder.
They did have armed police security at the club, so the local PD did consider that violence was a possibility. They just didn't guess that they'd be the one city out of hundreds or thousands where a major attack would come.
Maybe the cop was one of those people who believed that somehow there was an alliance between the pro-gay left and anti-gay jihadis. Heaven knows, there are enough troubled people who think that way on the Internet.
Not on that day, no. But Project Bojinka predated 9/11 by a number of years, and it involved use of suicide airplane takeover.
I don't necessarily think anybody fell down on the job here, my point is that any official who claims "it never crossed our minds that a terrorist would attack (insert soft target here)" is attempting to manipulate the audience.