Logs: Fix view toggling when no data is retrieved