Fixed ugly bug in throttling. (issue #17)