add +inf and -inf to sorted set min/max queries