src/util: Remove out-of-range comparison