This latest incident at Bagram came amid an upsurge in violence ahead of September 's parliamentary elections in Afghanistan .