Fixed: ViewLog doesn't crash when database is empty
Scrolling in ViewLog works correctly