Fix bug in revenues gathering