It is your logic that is faulty. We should be thankful that you're not a computer programmer.
You blame the cops for assuming a round was chambered. Is that logical?