Fix inventory averages