fixed visualization query with session-header when empty query