Fix transactions lazy loading bug