Removed duplicated code paths when asking for global header / footer attributes