Crooks usually become prisoners in the first place by being dumb. ;-) Or as I like to say, "If they were smart they wouldn't have to steal for a living".
Yeah, this genius may have cased the store and seen a sign saying that loaded guns weren't allowed in the store.......