American officials in Baghdad had long predicted an increase as the elections drew closer , saying insurgents are increasingly desperate and determined to derail Iraq 's first foray into democracy . ''