Fix comparison of elapsed time and threshold in SlowRequestFilter

Fixes #423