Fixed negative indexes in ZRANGE and added ZREVRANGE