Error throttling fixes

This fixes a bug in my last PR https://github.com/BrightcoveOS/Diamond/pull/505 pointed out by @bclermont