Add condition for ubigraph header inclusion