assert_in_range doesn't work properly with negative values of int64_t
I have tried to use assert_in_range for comparing int64_t values, but it doesn't work properly and probably casts int64_t to smaller values. Example value, which is not compared properly and asserts an error: -19899504