Address more review feedback:
 - Don't automatically create set in ZRANGE.
 - Use XOR in both locations.
 - Wrap sum() for better readability