I agree loaded gun in a range bag is stupid. I am also aware of all the glock safety measures. I just do not trust them and never will.
But it wasnt a loaded gun according to your description. You go around with chambered snap caps in a defensive pistol, in a carry bag.