Fixed serious issue with gunshot detection