Fix the fix for useless backend header in UI

It broke the "allow multibackend but use only one backend" case.