Fixed bug in throttling code.