Hello spectrum,
No this is not a bug, this is how it's suppose to work, to give the criminals a chance to still take the bags even if a cop was there otherwise a cop can just run in take all the bags and leave.
Please use the correct Bug Report form next time
Thank you