Massive performance optimizations in inventory view
Migration scripts for TagStats model
Fixed 'too many SQL variables' in log view and added filter to log view
Fixed the 'initial measurement not shown in log view' problem