Soldiers carry a wounded member of Philippine President Rodrigo Duterte's security group who was airlifted at an army camp in Cagayan de Oro after being hit in a roadside bomb attack in Lanao del Sur, Philippines November 29, 2016. Photo: Reuters/Armed Forces of the Philippines handout

A roadside bomb in the southern Philippines on Tuesday wounded seven members of the president’s security team, a day ahead of his planned visit to an area gripped by intense fighting between Islamist militants and government troops.

Rodrigo Duterte said he would defy his advisers and still go to Butig town on Wednesday to visit wounded soldiers, despite the bombing that hit his security staff and also wounded two soldiers.

“The truck carrying the president’s advance security detail was hit by an improvised explosive device,” Defense Secretary Delfin Lorenzana told reporters in Manila. “There was no firefight.”

The men injured in Lanao del Sur province were immediately airlifted to safety. Members of the president’s official media team were also in the convoy but were unharmed.

Some 40 militants from the Maute Group, which has pledged allegiance to Islamic State, have been killed during an air-and-ground assault on an old municipal building they have occupied since Saturday, said military spokesman Colonel Edgard Arevalo.

Twenty soldiers have been wounded in the fighting, which continued to rage on Tuesday.

Maybe we can have a little gunfight here, gunfight there

The defense secretary said he would advise the president to cancel his visit.

“It’s still not under control,” Lorenzana said, adding the military was trying to validate links between local groups and Islamic State.

Duterte, known for ignoring his ministers and security experts, said he would still go and the situation was under control.

“The advice was to postpone. I said no, I will go there. And if possible, take the same route,” he said in a speech. “Maybe we can have a little gunfight here, gunfight there.”

Police believe the Maute Group may also be responsible for the planting of a homemade bomb on Monday near the US embassy in Manila