Added rational encoder to nested set supplier