bugfix: rld_rank*() not working

due to the change to 0-based query