A bomb exploded inside a cafe north of Baghdad on Thursday, killing four people and wounding seven, police and a doctor said, lowering an intial toll of seven dead.