Quick fix: Transaction should not crash when getItems() is called before items added