ui: fix annotations track query when counter table is empty
ui: fix annotations track query when counter table is empty

Change-Id: I8c8a5a481d8cbe10386dc3de10be47f6f1b6589e
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto