Statistically speaking, the odds of that are far far lower than what might happen when you have a gun in the home.  The cops are certainly more likely to mistake you for intruder if you’re holding a gun. 
Yes, choose your risk carefully. But don’t base it on bravado and fear.