Was alcohol involved?
I don't know if it works this way with police but civilians who have alcohol on board and a gun on them or close enough to grab it can get extra time for more minor infractions like a DUI. The person might get 10 days in jail for the DUI but then get 2 years for having a gun while drunk/drinking.
Anyone know if it works the same way for police. I know they are expected to be armed; even when off duty but I've never heard a clear answer on when they drink. Might be a case by case thing for the judge to decide.