fix order of max/min args to ZREVRANGEBYSCORE