Added score_cast_func option to zrangebyscore.