Fix for Slowlog test.

Fixes the first test run fail - for slowlog tests.