fix bug of comparison with wrong types

raw_query['millis'] and self._slowms were both strings, they should be
ints for the comparison to be correct